public abstract class Colleague {
    protected Mediator mediator;
    public Colleague(Mediator mediator){
        this.mediator = mediator;
    }

    public abstract void stringProcess(String message);

    public void interactWithMediator(String message){
        mediator.operation(message);
    }
}
